package com.example.manage.controller;
import com.example.manage.controller.data.ReturnData;
import com.example.manage.service.TeamServeice;
import javax.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
 * 团队接口控制类
 */
@RestController
public class TeamController {
    @Resource
    TeamServeice teamServeice;
    @GetMapping("/getTeam")
    ReturnData getBanner() {
        return teamServeice.getTeam();
    }

}
